package com.freda.oa.flow.run.model.impl;

import org.eredlab.g4.bmf.base.BaseServiceImpl;
import org.eredlab.g4.bmf.util.SpringBeanLoader;

/**
 * 持久层父类
 * @author Rally
 *
 */
public class FlowBaseModelImpl extends BaseServiceImpl {
	
	/**
	 * spring,容器中获得实例
	 * 
	 * @param pBeanName
	 *            :BeanID
	 * @return Object
	 */
	protected Object getBean(String pBeanId) {
		Object springBean = SpringBeanLoader.getSpringBean(pBeanId);
		return springBean;
	}

}
